package demo.chain;


import com.lkcoffee.demo.chain.exception.Validator;

/**
* 
* @author : feixiang.li
* @since : 2025-09-17 18:06
*/
public class Main {

    public static void main(String[] args) {
        User user = new User("张", 101);
        Validator validator = new Validator();
        validator.validate(user);
        System.out.println(validator.getError());

    }
}
